#!/bin/bash
# 检查 python3 是否已经安装
# 执行 start.py
echo "开始安装"
is_python="python3.7 ok"
which "python3.7" || is_python="no"
echo ${is_python}
if [ "${is_python}" = "no" ];then
    echo "Python 未安装" 
    bash ./dependence/get_python.sh
    echo "Python 安装完成"
fi
python3.7 --version
python3.7 install.py